<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src='../js/ifTest2.js'/></script>
</head>
<body>
<h1>입력된 두수의 합계, 평균</h1>
<form method='post' action='' name='frmavg'>
	<label>숫자1</label>
	<input type='number' id='num1'/>
	<label>숫자2</label>
	<input type='number' id='num2'/><p/>	
	<input type='button' value='평균' id='btnavg'/>
</form>
<script>fnavg();</script>
</body>
</html>